package pt.iscte.pcd.project.interfaces;

import pt.iscte.pcd.project.exceptions.FileSystemException;


public interface PCDDirectory extends PCDEntry {

	public abstract boolean entryExists(String name);
	
	public abstract PCDFile newFile(String name)  throws FileSystemException;
	public abstract PCDDirectory newDirectory(String name) throws FileSystemException;
	public abstract void delete(PCDEntry entry) throws FileSystemException;
	public abstract String[] getDirectoryListing() throws FileSystemException;
	public abstract PCDEntry getEntry(String name);
}
